<link href='/css/core/main.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/table.css' type="text/css" rel="stylesheet"/>
<link href='/css/biz/form.css' type="text/css" rel="stylesheet"/>
<link href='/fonts/hui_iconfont/iconfont.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/Pagination/kkpager_orange.css' type="text/css" rel="stylesheet"/>
<link href='/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.css' type="text/css" rel="stylesheet"/>
<link href='/js/core/fancybox/jquery.fancybox-1.3.4.css' type="text/css" rel="stylesheet"/>
<script src="/js/core/fancybox/jquery-1.7.1.js"></script>  
<script src="/js/core/Dropdownlist/chosen.jquery.js"></script> 
<script src="/js/core/Pagination/kkpager.min.js"></script> 
<script src="/js/biz/pagelist.js"></script> 
<script src="/js/core/DatePicker/WdatePicker.js"></script> 
<script src="/js/biz/custominput.js"></script> 
<script src="/js/core/Tooltip/tooltip.js"></script> 
<script src="/js/jquery/jquery-ui-1.11.4.custom/jquery-ui.js"></script> 
<script src="/js/biz/ajaxfun.js"></script> 
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.js"></script> 
<script src="/js/core/fancybox/jquery.fancybox-1.3.4.pack.js"></script> 
<!-- <script src="/js/biz/floorList.js"></script>  -->
<script src="/js/biz/roadTable.js"></script>   
<script src="/js/biz/setPath.js"></script>  
    <!--页面部分-->  
    <div class="formtitle" style="width:1220px;"><span>路径设置</span></div>
    <div class="search" style="width:800px; margin-left:10px;">
        
        <form action="" method="post" id="form">
        <input type="hidden" id="pointCurrent" value="<?php if(isset($pointId)){echo $pointId;}?>">
        <input type="hidden" id="error" value="<?php if(isset($error)){echo $error;}?>">  
        <p>
            
            <ul class="forminfo" style="width:1220px;">
                <li>
                    <label class="label_input">当前路点<font class='red'>*</font></label>
                    <input type="text" class="dfinput coordCurrent" name="coordCurrent" value="<?php if(isset($coorCurrent)){echo $coorCurrent;}?>" />
                    <!-- <input type="text" class="dfinput ninput coordinate_x" placeholder="x" name="coordinate_x"/>
                    <span class="span_line">
                    <div class="div_line"></div>
                    </span>
                    <input type="text" class="dfinput ninput coordinate_y" placeholder="y" name="coordinate_y"> -->
                </li>
                <li>
                
                <label class="label_input">路点<font class='red'>*</font></label>
                <div style="width:630px;">
            <?php
                if(isset($pathDetail)&&!empty($pathDetail)&&count($pathDetail)>0){
                    // $n = ceil(count($pathDetail)/5);
                    // $m = 1;
                    foreach($pathDetail as $content){
            ?>
                <span class="span_check1">
                    <input type="checkbox" name="style"  value="<?php echo $content->coord;?>*<?php echo $content->pointId;?>" />
                    <label for="packing" class="label_checkbox"><?php echo $content->coord;?></label>    
                </span>

            <?php
                }}
            ?>
            </div>
            </li>
        
            <li style="display:none;position:relative;" id="table">
                <label class="label_input">目标路点<font class='red'>*</font></label>
                <table class="special_table road_table">
                    <thead>
                        <tr>
                            <th>坐标</th>
                            <th>长度</th>
                            <th>最大限速</th>
                            <th>停止RFID</th>
                            <th>进入角度</th>
                            <th>结束角度</th>
                            <th>可否开启避障</th>
                            <th>是否可用</th>
                            <th>门id</th>
                            <th>RFID</th>
                        </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </li>
            <li>
                <label class="label_input">&nbsp;</label>
                <input type="button" class="btn" id='btn_path' value="提交" />
                <a href="" class="btn_back" id="btn_back">返回</a>
            </li>
        </ul>  
        </p>
        
        </form>                
    </div>

    